package com.lyy.yygh.hosp;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
//扫描swagger配置类，包前面的两个相同，后面不同，所以写前面相同的的
@ComponentScan(basePackages = "com.lyy")
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.lyy")
public class ServiceHospApplication {

    public static void main(String[] args) {

        SpringApplication.run(ServiceHospApplication.class, args);
    }

}
